diff options
Diffstat (limited to 'src/routes/[lang=lang]/+page.svelte')
| -rw-r--r-- | src/routes/[lang=lang]/+page.svelte | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/routes/[lang=lang]/+page.svelte b/src/routes/[lang=lang]/+page.svelte index b757a71..325f085 100644 --- a/src/routes/[lang=lang]/+page.svelte +++ b/src/routes/[lang=lang]/+page.svelte @@ -1,16 +1,15 @@ <script lang="ts"> - import Contact, { type ContactModel } from "$components/contact.svelte"; + import Contact from "./sections/contact.svelte"; + import Hero from "./sections/hero.svelte"; + import Description from "./sections/description.svelte"; + import Products from "./sections/products.svelte"; + import type { PageData } from "./$types"; export let data: PageData; - - type Model = { - contact: ContactModel; - }; - - const M: Model = { - contact: data.contact, - }; </script> -<Contact model={M.contact} /> +<Hero model={data.hero} /> +<Description model={data.description} /> +<Contact model={data.contact} /> +<Products model={data.products} />
\ No newline at end of file |
